package com.cook.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.cook.dto.recipes.IngredientDTO;
import com.cook.dto.recipes.StepsDTO;
import com.cook.dto.recipes.TagsDTO;
import lombok.Data;

/**
 * @TableName recipes
 */
@TableName(value ="recipes")
@Data
public class Recipes implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long recipeId;

    private Long userId;

    private String title;

    private String description;

    private Integer prepTime;

    private Integer cookTime;

    private Object difficulty;

    private Integer servings;

    private String coverImageUrl;

    private Integer isPrivate;

    //private List<IngredientDTO> ingredients;

    //private List<StepsDTO> steps;

    //private List<TagsDTO> tags;

    private Date createdAt;

    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}